package lesson01;

import java.time.LocalDate;

/*
 * 类是一种模板：  模板创建对象
 *
 */
public class Movie {
    String mname;
    String daoyan;
    String local;
    String type;
    LocalDate date;

    // 无参数构造 创建对象用
    public Movie() {
    }
    // 有参数构造construct
    public Movie(String mname, String daoyan, String local, String type, LocalDate date) {
        this.mname = mname;
        this.daoyan = daoyan;
        this.local = local;
        this.type = type;
        this.date = date;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getDaoyan() {
        return daoyan;
    }

    public void setDaoyan(String daoyan) {
        this.daoyan = daoyan;
    }

    public String getLocal() {
        return local;
    }

    public void setLocal(String local) {
        this.local = local;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }
}
